#!/bin/bash

if [ ! -d build ] ;
then
    mkdir build
fi

cd ../plugins/commlib

sh build.sh

cd -

cd build

buildType="Debug"

cmake .. -DCMAKE_BUILD_TYPE=$buildType -DCMAKE_INSTALL_PREFIX=../runtime/bin/ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=1

make install
